package com.zhang.mqtt.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author 超chao
 * @Description
 * @Date 2025/7/24/周四 10:08
 * @Version 1.0
 */
@Data
@Component
public class MqttProperties {
    @Value("${spring.mqtt.username}")
    private String username;
    @Value("${spring.mqtt.password}")
    private String password;
    @Value("${spring.mqtt.broker}")
    private String broker;
    @Value("${spring.mqtt.subClientId}")
    private String subClientId;
    @Value("${spring.mqtt.subTopic}")
    private String subTopic;
    @Value("${spring.mqtt.pubClientId}")
    private String pubClientId;
}
